package com.huizu.project.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

/**
 * 劳动教育配置对象 pro_labour_education_config
 * 
 * @author pjl
 * @date 2024-09-10
 */
public class ProLabourEducationConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 类型：1.劳动教育概况；2.劳动教育动态；3.劳动教育实践基地 */
    @Excel(name = "类型：1.劳动教育概况；2.劳动教育动态；3.劳动教育实践基地")
    private Integer type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 配置内容 */
    @Excel(name = "配置内容")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 用户id
     */
    private String createBy;

    /**
     * 发布者
     */
    @Excel(name = "发布者")
    private String nickName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("title", getTitle())
            .append("content", getContent())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
